
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 
<title></title> 
</head> 
<body> 
<p><fb:login-button autologoutlink="true" onlogin="fb_onlogin();"></fb:login-button></p> 
<p><fb:like></fb:like></p> 
<div id="fb-root"></div> 
<script>
//--FB Init
window.fbAsyncInit = function(){
	FB.init({appId: '119426984786181', status: true, cookie: true, xfbml: true});
	//				alert('window.fbAsyncInit');
	FB.getLoginStatus(function(response) {
		if (response.session) {
			populate_file();
			
		} else {
			FB.login(function(response) {
				if (response.session) {
					populate_file();
			
				} else {
					fb_dologin();
				}
			});

		}
	});
};

(function() 
{
	var e = document.createElement('script');
	e.type = 'text/javascript';
	e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
	e.async = true;
	document.getElementById('fb-root').appendChild(e);
}());
</script>
<script type="text/javascript" src="scripts.js"></script>
<div id='name'></div>
</body> 
</html> 

